<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>全选练习</title>
    <script src="remake.js"></script>
</head>
<body>
    <p>你爱好的运动是：</p>
    <form>
        <input type="checkbox" id="button" value="全选/全不选">全选/全不选 <br>
        <input type="checkbox" name="items" value="篮球">篮球
        <input type="checkbox" name="items" value="足球">足球
        <input type="checkbox" name="items" value="羽毛球">羽毛球
        <input type="checkbox" name="items" value="乒乓球">乒乓球<br>
        <input type="button" id="chooseAll" value="全选">
        <input type="button" id="chooseNone" value="全不选">
        <input type="button" id="inverse" value="反选">
        <input type="button" id="submit" value="提交">
        
    </form>
</body>
</html>